<template>
	<div class="page-wrap">
		<div class="page-inner">
			<div class="page-table-ctx-wrap">
				<div class="actions-box">
					<div class="control-box">
						<div class="control-left">
							<div class="control-item">

							</div>
						</div>
						<div class="control-right">

						</div>
					</div>
				</div>
				<div class="table-view">
					<w_table ref="w_table" @emitTable="emitTable" />
				</div>
				<div class="table-util">
					<div class="util-left">
					</div>
					<div class="util-right">
						<div class="pagi-item">
							<w_pagination v-if="tableData.length" :total="total" :pagination="pagination"
								@size-change="onSizeChange" @current-change="onCurrentChange" />
						</div>
					</div>
				</div>
			</div>
		</div>

		<w_form_modal ref="w_form_modal" @confirm="confirmFormSubmit" />
	</div>
</template>

<script>
import page_config from "@/constant/user/user-detail/credit.js";
import page_mixin from "@/mixins/page_mixin.js";
export default {
	name: "banner-list",
	mixins: [page_mixin],
	components: {

	},
	data() {
		return {
			page_config,

			searchParams: {
				id: this.$route.query.id
			}
		};
	},
	computed: {

	},
	watch: {},
	created() {

	},
	mounted() {

	},
	methods: {

	},
};
</script>

<style scoped lang="less">
// /deep/ .el-table table {
//   width: 100% !important;

//   thead {
//     th.el-table__cell {
//       background: #f8f8f8;
//       color: #000;
//     }
//   }
// }


.page-table-ctx-wrap {
	background: #fff;
	padding: 20px;
	border-radius: 6px;
}

// 新增
.control-box {
	.flex-between();

	.control-left {
		.flex();

		.control-item {
			margin-right: 10px;
		}
	}

	.control-right {
		.flex();

		.action-item {
			margin-left: 10px;
		}
	}
}

.table-view {
	margin-top: 20px;
	margin-bottom: 20px;
}


// 表格工具栏
.table-util {
	.flex-between();

	.util-left {
		.flex();
		min-width: 100px;

		.util-items {
			.flex();

			.item {
				margin-right: 10px;
			}
		}
	}

	.util-right {}
}
</style>